import request  from "@/utils/request";

export const loginAPI = (values) =>{
    return request.post("/user/login",values)
}

export const registerAPI = (values) =>{
    return request.post("/user/register",values)
}

export const getUserInfo = () => {
    return request('/user/currentUser')
  }